package cn.besbing.model.entities.primary;


import cn.besbing.model.mapper.primary.NcBasprodContactMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcBasProdContactServiceImpl implements NcBasprodContactMapper {
    
    @Autowired(required = false)
    NcBasprodContactMapper ncBasprodContactMapper;
    
    @Override
    public long countByExample(NcBasprodContactExample example) {
        return ncBasprodContactMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcBasprodContactExample example) {
        return ncBasprodContactMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkBasprodContact) {
        return ncBasprodContactMapper.deleteByPrimaryKey(pkBasprodContact);
    }

    @Override
    public int insert(NcBasprodContact record) {
        return ncBasprodContactMapper.insert(record);
    }

    @Override
    public int insertSelective(NcBasprodContact record) {
        return ncBasprodContactMapper.insertSelective(record);
    }

    @Override
    public List<NcBasprodContact> selectByExample(NcBasprodContactExample example) {
        return ncBasprodContactMapper.selectByExample(example);
    }

    @Override
    public NcBasprodContact selectByPrimaryKey(String pkBasprodContact) {
        return ncBasprodContactMapper.selectByPrimaryKey(pkBasprodContact);
    }

    @Override
    public int updateByExampleSelective(NcBasprodContact record, NcBasprodContactExample example) {
        return ncBasprodContactMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcBasprodContact record, NcBasprodContactExample example) {
        return ncBasprodContactMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcBasprodContact record) {
        return ncBasprodContactMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcBasprodContact record) {
        return ncBasprodContactMapper.updateByPrimaryKey(record);
    }
}
